xen init script: move init_dom0 into xenstored start
authorHans van Kranenburg <hans@knorrie.org>
Sun, 10 Feb 2019 15:35:20 +0000 (16:35 +0100)
committerIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 14:00:16 +0000 (14:00 +0000)
commitd065ee48e64b6a68ffd7713a3fc3046d12321aca
treedd49eee5f088e8d470f4530b74db8cf49bbf1bcb
parentd2c9367227db95bc2dbe4fde71dc1a2cbb1c37d5
xen init script: move init_dom0 into xenstored start

Executing this is only necessary after starting xenstored. In all other
cases it just prints noop spam to stderr.

    -# /usr/lib/xen-4.11/bin/xen-init-dom0 >/dev/null
    Dom0 is already set up

I don't want to silence stderr, so just move the code into the end of
the xenstored start function.

Also, add a hint that the compatibility if/else part should be removed
after the Buster release.

Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
Acked-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/xen-utils-common.xen.init